package com.zenkeeuk.bookerfornfc.client.android;

import com.zenkeeuk.bookerfornfc.client.android.R;

import android.app.Activity;
import android.os.Bundle;
import android.view.Window;
import android.widget.TextView;

public class BookLabInfoActivity extends Activity {
	
	private String isbn;
	public void setIsbn(String isbn) {
		this.isbn = isbn;
	}

	public String getIsbn() {
		return isbn;
	}
	
	@Override
	public void onCreate(Bundle icicle) {
	    super.onCreate(icicle);
	    requestWindowFeature(Window.FEATURE_NO_TITLE);
	    setContentView(R.layout.booklabinfo);
	    
	    setIsbn(this.getIntent().getStringExtra(Contents.INTENT_EXTRA_ISBN_KEY));
	    String bookname = this.getIntent().getStringExtra(Contents.INTENT_EXTRA_BOOK_NAME);
	    
	    TextView lab_book_name = (TextView)findViewById(R.id.lab_book_name);
	    lab_book_name.setText(bookname);
	}
}
